package a.f;

import java.util.ArrayList;
import java.util.List;

public class nb
  implements rc
{
  private List e = new ArrayList();
  private rc f;
  public static int g;
  
  public nb(vc paramvc, rc paramrc)
  {
    a(paramvc);
    this.f = paramrc;
  }
  
  public void a(vc paramvc)
  {
    this.e.add(0, paramvc);
  }
  
  public List a()
  {
    return this.e;
  }
  
  public void b(vc paramvc)
  {
    this.e.add(paramvc);
  }
  
  public boolean canLayout(o paramo)
  {
    boolean bool = o.eg;
    int j = o.dg;
    int i = 0;
    if (i < this.e.size() - 1) {}
    while (bool)
    {
      a(i).a(a(i + 1));
      i++;
      if (bool) {
        break label99;
      }
      if (j != 0) {
        break label88;
      }
      if (j == 0) {
        break;
      }
    }
    a(this.e.size() - 1).a(this.f);
    label88:
    label99:
    return a(0).canLayout(paramo);
  }
  
  public void doLayout(o paramo)
  {
    boolean bool = o.eg;
    int j = o.dg;
    int i = 0;
    if (i < this.e.size() - 1) {}
    do
    {
      a(i).a(a(i + 1));
      i++;
      if ((!bool) && (j != 0)) {
        return;
      }
      if (j == 0) {
        break;
      }
      a(this.e.size() - 1).a(this.f);
    } while (bool);
    a(0).doLayout(paramo);
  }
  
  private vc a(int paramInt)
  {
    return (vc)this.e.get(paramInt);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.nb
 * JD-Core Version:    0.7.0.1
 */